<div ng-controller="PasswordFormController" class="block-center mt-xl wd-xl">
   <!-- START panel-->
   <div class="panel panel-dark panel-flat">
      <div class="panel-heading text-center">
         <a href="#">
            <img src="app/img/logo.png" alt="Image" class="block-center img-rounded" />
         </a>
      </div>
      <div class="panel-body">
         <p class="text-center pv">修改密码</p>
         <form role="form" name="passwordForm" novalidate="" ng-submit="passwordupdate()" class="form-validate mb-lg">
            <div class="form-group has-feedback">
               <label class="text-muted">新密码</label>
               <input id="id-password" type="password" name="account_password" ng-model="account.Password" ng-pattern="/^[a-zA-Z0-9]{6,10}$/" required="" class="form-control" />
               <span class="fa fa-lock form-control-feedback text-muted"></span>
               <span ng-show="passwordForm.account_password.$dirty &amp;&amp; passwordForm.account_password.$error.required" class="text-danger">请输入新密码</span>
               <span ng-show="passwordForm.account_password.$dirty &amp;&amp; passwordForm.account_password.$error.pattern" class="text-danger">密码格式必须为６～１０个数字或英文字母</span>
            </div>
            <div class="form-group has-feedback">
               <label class="text-muted">再次输入密码</label>
               <input type="password" name="account_password_confirm" ng-model="psword.account_password_confirm" ui-validate="'$value==account.Password'" ui-validate-watch="'password'" class="form-control" />
               <span class="fa fa-lock form-control-feedback text-muted"></span>
               <span ng-show="passwordForm.account_password_confirm.$dirty &amp;&amp; passwordForm.account_password_confirm.$error.required" class="text-danger">请在此输入密码</span>
               <span ng-show="passwordForm.account_password_confirm.$dirty &amp;&amp; passwordForm.account_password_confirm.$error.validator" class="text-danger">两次输入密码不一致</span>
            </div>
            <div class="clearfix">
            </div>
            <button type="submit" class="btn btn-block btn-primary mt-lg">修改密码</button>
         </form>
         <div ng-show="authMsg" class="alert alert-danger text-center">{{authMsg}}</div>
      </div>
   </div>
   <!-- END panel-->
   <div class="p-lg text-center">
      <span>&copy;</span>
      <span ng-bind="app.year"></span>
      <span>-</span>
      <span ng-bind="app.name"></span>
      <br/>
      <span ng-bind="app.description"></span>
   </div>
</div>